﻿using System;
using System.Collections.Generic;
using NAudio.CoreAudioApi;

namespace MultiVolumeControl.Core
{
	public sealed class AudioWrapper
	{
		private readonly AudioEndpointVolume volume;
		private readonly string id;
		
		public AudioWrapper(AudioEndpointVolume volume,string id){
			this.volume=volume;
			this.id=id;
		}
		
		public bool Mute {
			get{ return volume.Mute; }
			set{ volume.Mute=value; }
		}
		
		public float MasterVolumeLevelScalar {
			get{ return volume.MasterVolumeLevelScalar; }
			set{ volume.MasterVolumeLevelScalar=value; }
		}
	}
}